#include <stdio.h>
int main()
{
	freopen("zz_test\\test7.in", "r", stdin);
	freopen("zz_test\\test7.out", "w", stdout);
	int score = 0;
	scanf("%d", &score);
	if ( score >= 90 ) {
		printf("Excellent");
	}
	else if ( score >= 80 ) {
		printf("Good");	
	}
	else if ( score >= 60 ) {
		printf("Pass");	
	}
	else {
		printf("Fail");
	}
	return 0;
} 
